package com.smart.village.big.screen.mapper;

import com.alibaba.fastjson.JSONObject;
import com.smart.village.big.screen.domain.WorkTeams;
import com.smart.village.big.screen.domain.WorkTeamsMembers;
import com.smart.village.big.screen.domain.WorkTeamsWorksLogs;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WorkTeamsMapper {
    WorkTeams getWorkTeamsMyInvolved(String iDCardNumber);
    List<WorkTeamsMembers> getWorkTeamsMembersByTeamSerialNumber(String teamSerialNumber);
    List<WorkTeamsWorksLogs> getWorkTeamsLogsByTeamSerialNumber(String yearMonth,String teamSerialNumber,String iDCardNumber,String ifCaptain);

    List<WorkTeams> getMicroManagerWorkTeamsList(String partyOrganizationSerialNumber, String search);

    WorkTeams getWorkTeamsByWorkTeamSerialNumber(String workTeamSerialNumber);

    List<JSONObject> getWorkTeamMember(String iDCardNumber,String workTeamSerialNumber);
}
